package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * B端公司管理
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_user_business_company")
@ApiModel(value = "XhUserBusinessCompany对象", description = "B端公司管理")
public class XhUserBusinessCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("B端公司编号")
    private String companyNo;

    @ApiModelProperty("B端公司名称")
    private String companyName;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("B端公司联系人")
    private String contact;

    @ApiModelProperty("手机")
    private String mobile;

    @ApiModelProperty("省id")
    private Integer provinceId;

    @ApiModelProperty("市id")
    private Integer cityId;

    @ApiModelProperty("区域ID")
    private Integer areaId;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("当前可用电池")
    private Integer batteryNum;

    @ApiModelProperty("总发货电池")
    private Integer sendBatteryNum;

    @ApiModelProperty("确认丢失电池")
    private Integer lostBatteryNum;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

    @ApiModelProperty("是否启用：0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

}
